<%@tag pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="custom" tagdir="/WEB-INF/tags" %>
<%@attribute name="item" required="true" type="cn.livingCloud.dto.CaseCategoryDto" %>

<c:if test="${not empty item.subList}">
    <select class="form-control categoryList hide" parent="${item.uuid}">
        <option value="">请选择案件分类</option>
        <c:forEach items="${item.subList}" var="subItem">
            <option value="${subItem.uuid}">${subItem.name}</option>
        </c:forEach>
    </select>
    <c:forEach items="${item.subList}" var="subItem">
        <custom:case_list_category item="${subItem}"/>
    </c:forEach>
</c:if>